﻿/*  Kiva.NET
 *  Copyright (c) 2009 Arun Kumar 
 *  middleforce@gmail.com
 */
using System.Collections.Generic;

namespace KivaLibrary
{


    public class KivaLoan
    {
        internal KivaLoan() { }
        private int mID;
        public int ID
        {
            get { return mID; }
            set { mID = value; }
        }
        string mName;
        public string Name
        {
            get { return mName; }
            set { mName = value; }
        }
        string mStatus;
        public string Status
        {
            get { return mStatus; }
            set { mStatus = value; }
        }
        double mLoanAmount;
        public double LoanAmount
        {
            get { return mLoanAmount; }
            set { mLoanAmount = value; }
        }
        double mFundedAmount;
        public double FundedAmount
        {
            get { return mFundedAmount; }
            set { mFundedAmount = value; }
        }
        double mBorrowerCount;
        public double BorrowerCount
        {
            get { return mBorrowerCount; }
            set { mBorrowerCount = value; }
        }
        KivaImage mImage;
        public KivaImage Image
        {
            get { return mImage; }
            set { mImage = value; }
        }
        string mActivity;
        public string Activity
        {
            get { return mActivity; }
            set { mActivity = value; }
        }
        string mSector;
        public string Sector
        {
            get { return mSector; }
            set { mSector = value; }
        }
        string mUse;
        public string Use
        {
            get { return mUse; }
            set { mUse = value; }
        }
        KivaLocation mLocation=new KivaLocation();
        public KivaLocation Location
        {
            get { return mLocation; }
            set { mLocation = value; }
        }
        int mPartnerID;
        public int PartnerID
        {
            get { return mPartnerID; }
            set { mPartnerID = value; }
        }
        string mPostedDate;
        public string PostedDate
        {
            get { return mPostedDate; }
            set { mPostedDate = value; }
        }
        public List<KivaBorrower> Borrowers=new List<KivaBorrower>();
        string mFundedDate;
        public string FundedDate
        {
            get { return mFundedDate; }
            set { mFundedDate = value; }
        }
        KivaTerms mTerms;
        public KivaTerms Terms
        {
            get { return mTerms; }
            set { mTerms = value; }
        }
        KivaDescription mDescription;
        public KivaDescription Description
        {
            get { return mDescription; }
            set { mDescription = value; }
        }
    }
}
